import java.awt.Graphics2D;
import java.awt.event.*;

public class Phase {
	
	private GameInterface gi;
	
	private Phase owner, current; // (above), (below)
	private Phase previous, next;
	
	public Phase(GameInterface cgi){
		gi = cgi;
	}
	
	public void update(long l){}
	public void display(Graphics2D g){}
	
	public void mouseInput(MouseEvent me){}
	public void keyInput(KeyEvent ke){}
	
	public GameInterface getGameInterface(){return gi;}
	public Phase getOwner(){return owner;}
	public Phase getCurrent(){return current;}
	public Phase getPrevious(){return previous;}
	public Phase getNext(){return next;}
	
	public void setOwner(Phase so){owner = so;}
	public void setCurrent(Phase sc){current = sc;}
	public void setPrevious(Phase sp){previous = sp;}
	public void setNext(Phase sn){next = sn;}
}
